package threads;


public class CreateThread3
{
	private Thread t;
	
	public CreateThread3(final String name)
	{
		
		this.t = new Thread(new Runnable() {
			
			@Override
			public void run()
			{
				for (int i = 0; i < 10; i++)
				{
					System.out.println(name);
				}
				
			}

		});
		
		this.t.start();
	}
	
	
	public static void main(String[] args)
	{
		new CreateThread3("A");
		new CreateThread3("	B");
	}
	
}
